package com.example.bourse.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName user_info_extension
 */
@TableName(value ="user_info_extension")
@Data
public class UserInfoExtension implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 身份证号码
     */
    @TableField(value = "id_card_number")
    private String idCardNumber;

    /**
     * 身份证正反图片，逗号隔开
     */
    @TableField(value = "id_card_image")
    private String idCardImage;

    /**
     * 用户拿身份证照片
     */
    @TableField(value = "id_card_user_image")
    private String idCardUserImage;

    /**
     * 性别：1=男、2=女
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 支付宝账号
     */
    @TableField(value = "payment_account")
    private String paymentAccount;

    /**
     * 微信账号
     */
    @TableField(value = "wechat_account")
    private String wechatAccount;

    /**
     * 创建时间
     */
    @TableField(value = "create_date")
    private Date createDate;

    /**
     * 修改时间
     */
    @TableField(value = "update_date")
    private Date updateDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}